public abstract class MachineDecorator implements AgriculturalMachine {
    protected AgriculturalMachine decoratedMachine;
    
    public MachineDecorator(AgriculturalMachine machine) {
        this.decoratedMachine = machine;
    }
    
    @Override
    public void operate() {
        decoratedMachine.operate();
    }
    
    @Override
    public String getStatus() {
        return decoratedMachine.getStatus();
    }
    
    @Override
    public void setLocation(String location) {
        decoratedMachine.setLocation(location);
    }
}